export const loadMoreFilter = v => {
  if (v) {
    return '加载中...'
  } else {
    return '没有更多了'
  }
}

export const mobileFilter = v => {
  let reg = /(\d{3})\d{4}(\d{4})/
  if (v) {
    return v.replace(reg, "$1****$2")
  } else {
    return v
  }
}